import random

import wordcloud
import string

lstChar=[x for x in string.ascii_uppercase]
print(lstChar)

lstfreq=[random.random(1,100) for i in range(26)]
print(lstfreq)
freq={x[0]:[1] for x in zip(lstChar,lstfreq)}
print(freq)
wcloud=wordcloud.WordCloud(
    background_color="white",width=1000,
    height=860,max_words=50,margin=1).fit_words(freq)
wcloud.to_file("result.png")
print("end")